package com.itheima.io;

import java.io.FileOutputStream;
import java.io.IOException;

public class IODemo02 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("F:\\IOfile\\a.txt");


        byte[] bys = {97,98,99,100,101,102};

        fos.write(bys);
        fos.write(bys,2,2);


        fos.close();
    }
}
